package mvc.struts.form;

import java.util.HashMap;
import java.util.Map;

public class XmlBean {

	private String 		beanName;
	private String 		path;
	private String 		actionType;
	private String 		actionClass;
	private String 		formClass;
	private Map<String, String>	actionForward = new HashMap<String, String>();
	
	public XmlBean()
	{
		
	}

	//	beanName
	public String getBeanName() {
		return beanName;
	}

	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}

	//	path
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	//	actionType
	public String getActionType() {
		return actionType;
	}

	public void setActionType(String actionType) {
		this.actionType = actionType;
	}

	//	actionClass
	public String getActionClass() {
		return actionClass;
	}

	public void setActionClass(String actionClass) {
		this.actionClass = actionClass;
	}

	//	formClass
	public String getFormClass() {
		return formClass;
	}

	public void setFormClass(String formClass) {
		this.formClass = formClass;
	}

	//	actionForward
	public Map<String, String> getActionForward() {
		return actionForward;
	}

	public void setActionForward(Map<String, String> actionForward) {
		this.actionForward = actionForward;
	}
		
	/**
	 * 
	 */
	public String toString()
	{
		return	("beanName : "    + beanName + " || " + 
				 "path : "        + path + " || " +
				 "actionType : "  + actionType + " || " +
				 "actionClass : " + actionClass + " || " +
				 "formClass : "   + formClass + " || " +
				 "actionForward : " + actionForward);
	}
}
